import request from '@/utils/request'

// 查询导航自定义列表
export function listACustom(query) {
  return request({
    url: '/system/aCustom/list',
    method: 'get',
    params: query
  })
}

// 查询导航自定义详细
export function getACustom(id) {
  return request({
    url: '/system/aCustom/' + id,
    method: 'get'
  })
}

// 新增导航自定义
export function addACustom(data) {
  return request({
    url: '/system/aCustom',
    method: 'post',
    data: data
  })
}

// 修改导航自定义
export function updateACustom(data) {
  return request({
    url: '/system/aCustom',
    method: 'put',
    data: data
  })
}

// 删除导航自定义
export function delACustom(id) {
  return request({
    url: '/system/aCustom/' + id,
    method: 'delete'
  })
}
